ScssPhp\ScssPhp\Serializer\SerializeVisitor D

Total Complexity 336
Dependencies 48
Dependents 1
Total lines 1,522
Lines of code 976
Logical lines of code 662
Comment lines 221
Methods 67
Properties 5

Methods 67

Method Rating Maintainability Complexity Lines of code
visitQuotedString()
D
36 40 67
visitList()
B
44 19 44
writeCalculationValue()
A
47 15 34
visitColor()
A
44 13 46
minimumIndentation()
A
51 14 25
tryPrivateUseCharacter()
A
47 13 34
writeWithIndent()
A
46 12 43
visitChildren()
A
47 11 38
visitCssStylesheet()
A
52 10 26
visitPseudoSelector()
A
53 10 25
visitMediaQuery()
A
53 8 20
visitComplexSelector()
A
57 8 16
visitAttributeSelector()
S
53 7 24
elementNeedsParens()
S
56 7 19
visitUnquotedString()
S
52 6 27
isTrailingComment()
S
54 6 21
visitNumber()
S
54 6 20
visitSelectorList()
S
56 6 19
visitCssMediaRule()
S
58 6 13
writeNumber()
S
55 5 21
visitCssDeclaration()
S
54 5 21
writeImportUrl()
S
59 5 13
separatorString()
S
62 5 12
writeMapElement()
S
62 5 12
writeEscape()
S
61 5 11
visitMap()
S
56 4 18
visitCssComment()
S
57 4 17
writeFoldedValue()
S
58 4 16
writeReindentedValue()
S
57 3 17
writeHsl()
S
57 3 17
visitCssAtRule()
S
59 3 16
parenthesizeCalculationRhs()
S
66 4 9
writeRgb()
S
59 3 14
visitCalculation()
S
60 3 14
visitCssSupportsRule()
S
61 3 12
writeBetween()
S
63 3 11
visitCompoundSelector()
S
65 3 9
isInvisible()
S
78 3 3
visitString()
S
69 3 7
canUseShortHex()
S
78 3 3
visitCssImport()
S
61 2 14
writeLineFeed()
S
74 2 5
writeOptionalSpace()
S
74 2 5
requiresSemicolon()
S
71 2 6
writeTimes()
S
72 2 5
getCommaSeparator()
S
80 2 3
visitUniversalSelector()
S
69 2 7
writeIndentation()
S
73 2 5
visitNull()
S
75 2 5
visitFunction()
S
67 2 8
visitParentSelector()
S
71 2 6
writeCombinators()
S
72 2 5
visitBoolean()
S
79 2 3
withoutIndendation()
S
72 1 6
indent()
S
75 1 5
visitCssKeyframeBlock()
S
67 1 8
visitCssStyleRule()
S
68 1 8
isSymmetricalHex()
S
78 1 3
visitPlaceholderSelector()
S
77 1 4
writeHexComponent()
S
78 1 3
getBuffer()
S
82 1 3
visitClassSelector()
S
77 1 4
write()
S
74 1 5
for()
S
81 1 3
visitIDSelector()
S
77 1 4
visitTypeSelector()
S
81 1 3
__construct()
S
70 1 6